package models;

import java.util.Date;

import play.db.jpa.Model;

public class StatistiquesStage extends Model{
	
	public Intitule intitule;
	public String code;
	public Date dateDeb;
	public float nbjours;
	public int nbAgents;
	
	public StatistiquesStage(){
		this.nbjours=0;
		this.nbAgents=0;
	}
	
	public StatistiquesStage(Intitule intitule, float nbjours, int nbAgents, Date dateDeb, String code){
		this.intitule=intitule;
		this.dateDeb=dateDeb;
		this.code=code;
		this.nbjours=nbjours;
		this.nbAgents=nbAgents;
	}
	
	public String toString(){
		return code;
	}
}
